package com.xd.core.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZX
 * @since 2024-07-25
 */
@Accessors(chain = true)
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserGroup对象", description="")
public class UserGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工组id")
    private Integer groupId;

    @ApiModelProperty(value = "人员id")
    private Integer userId;

    @ApiModelProperty(value = "归属公司id")
    private Integer companyId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
